import { APIS } from "@/api/libs";

// 启动服务
export const findScada = (param: { sourceId: string; sourceType?: string }) => {
	return APIS.scada.server.get(`/configure/find`, param);
};
export const getTopo = (params: any) => {
	return APIS.scada.server.get("/configure/get", params);
};
export const addTopo = (params: any) => {
	return APIS.scada.server.post("/configure/add", params);
};

export const delTopo = (params: any) => {
	return APIS.scada.server.post(`/configure/remove`, params);
};
